package com.wteam.Service;

import com.wteam.PoJo.DO.Address;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wteam.PoJo.DTO.AddressDTO;
import com.wteam.PoJo.DTO.UpdateAddressDTO;
import com.wteam.until.Result;

/**
 * <p>
 * 收货地址表 服务类
 * </p>
 *
 * @author author
 * @since 2024-07-16
 */
public interface IAddressService extends IService<Address> {

    Result saveAddress(AddressDTO addressDTO);

    Result updateAddressdefault(Long id);

    Result getalladdress();

    Result updateaddress(UpdateAddressDTO addressDTO);

    Result deletebyID(Long id);
}
